package com.swordliu.springboot.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by SwordLiu on 2017-06-05.
 */
@Controller
//@RestController
//@RequestMapping(value = "/test")
public class TestController {

    @RequestMapping(value = "/test")
    public String test() {
        System.out.println("this is test login.");
        return "model";
    }

}
